package com.ly.heart.domain.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("响应状态，成功时响应该对象")
@Data
public class KingBaseResponseStatus {

    @ApiModelProperty("响应状态值，是否成功")
    private Boolean IsSuccess;

    @ApiModelProperty("响应成功时带回的成功数据，正常情况下时新增时推过去的数据")
    private List<KingBaseResponseSuccessEntity> SuccessEntitys;

    @ApiModelProperty("响应成功时带回的错误数据，具体展示的错误信息")
    private List<KingBaseResponseError> Errors;

}
